<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

    <title>火灾物证鉴定系统</title>
    <link rel="stylesheet" href="//unpkg.com/layui@2.6.8/dist/css/layui.css">

    <style>
        body {
            font-weight:bold;
        }
    </style>
</head>
<body>
<div class="layui-layout layui-layout-admin">
    <!--    头部导航栏-->
    <div class="layui-header">
        <ul class="layui-nav" lay-filter="" style="background-color: #1a206e">
            <li class="layui-nav-item layui-col-md-offset4 "><a href="../app/appcommit.html">鉴定申请</a></li>
            <li class="layui-nav-item"><a href="../me/mecommit.html">物证信息库</a></li>
            <li class="layui-nav-item"><a href="../fire/fireinfo.html">火灾信息库</a></li>
            <li class="layui-nav-item layui-this"><a href="../ident/identify.html">物证鉴定</a></li>
            <li class="layui-nav-item"><a href="../rev/revlist.html">审查</a></li>
        </ul>
        <div class="layui-logo layui-hide-xs" style="font-size: 21px; color: white; background-color: #1a206e">火灾物证鉴定系统</div>

        <!--        修改个人信息-->
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item layui-hide layui-show-md-inline-block">
                <a href="javascript:;">
                    <i class="layui-icon layui-icon-username"></i>
                </a>
                <dl class="layui-nav-child">
                    <dd><a href="../user/usercenter.html"><i class="layui-icon layui-icon-edit"></i>&nbsp; 修改信息</a></dd>
                    <dd><a href="../user/login.html"><i class="layui-icon layui-icon-logout"></i>&nbsp; 退出</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item" lay-header-event="menuRight" lay-unselect>
                <a href="javascript:;">
                    <i class="layui-icon layui-icon-more-vertical"></i>
                </a>
            </li>
        </ul>
    </div>

    <div class="layui-side" style="background-color: #1b227b">
        <div class="layui-side-scroll">
            <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
            <ul class="layui-nav layui-nav-tree" lay-filter="test" style="background-color: #1b227b">
                <li class="layui-nav-item">
                    <a  href="../ident/applicated.html">已提交申请</a>
                </li>
                <li class="layui-nav-item">
                    <a  href="../ident/identify.html">鉴定申请</a>
                </li>
                <li class="layui-nav-item layui-nav-itemed">
                    <a href="../ident/identified.html">已鉴定申请</a>
                </li>
            </ul>
        </div>
    </div>

    <div class="layui-body">
        <table id="demo" lay-filter="test"></table>
    </div>
    <!-- 底部固定区域 -->
    <div class="layui-footer">
        底部固定区域
    </div>
</div>
<script src="//unpkg.com/layui@2.6.8/dist/layui.js"></script>
<script>

    //Demo
    layui.use('form', function(){
        var form = layui.form;

        //监听提交
        form.on('submit(formDemo)', function(data){
            layer.msg(JSON.stringify(data.field));
            return false;
        });
    });
    //JS
    layui.use(['element', 'layer', 'util'], function(){
        var element = layui.element
            ,layer = layui.layer
            ,util = layui.util
            ,$ = layui.$;

        //头部事件
        util.event('lay-header-event', {
            //左侧菜单事件
            menuLeft: function(othis){
                layer.msg('展开左侧菜单的操作', {icon: 0});
            }
            ,menuRight: function(){
                layer.open({
                    type: 1
                    ,content: '<div style="padding: 15px;">处理右侧面板的操作</div>'
                    ,area: ['260px', '100%']
                    ,offset: 'rt' //右上角
                    ,anim: 5
                    ,shadeClose: true
                });
            }
        });

    });

    layui.use('table', function(){
        var table = layui.table;

        //第一个实例
        table.render({
            elem: '#demo'
            ,height: 613
            ,url: '/aps/getMyAps' //数据接口
            ,page: true //开启分页
            ,cols: [
                [ //表头
                    {field: 'ApsID', title: '鉴定表ID', width:160, sort: true, fixed: 'left'}
                    ,{field: 'IdentID', title: '鉴定员ID', width:160}
                    ,{field: 'ApsTime', title: '鉴定时间', width:160, sort: true}
                    ,{field: 'ApsConclusion', title: '鉴定结果', width:320}
                    ,{field: 'RevStatus', title: '是否通过', width: 160}
                    ,{field: 'ArchivingStatus', title: '是否归档', width: 160}
                ]
            ],
        });

    });
</script>
<!--弹窗-->
<script th:inline="javascript">

    a=[[${msg}]]
    if(a!=null)
    {alert(a);}

</script>
</body>
</html>